package personresources.manager.util;

import java.util.Iterator;
import java.util.Properties;
import java.util.ResourceBundle;

import javax.faces.application.FacesMessage;
import javax.faces.context.FacesContext;


/**
 * Get message in properties file
 * @author Duy Chuong
 *
 */
public class Message {
	/**
	 * get message with message key
	 * @param messageKey Key of message
	 * @return Message if exist
	 */
	public static String getString(String messageKey) {
		
		ResourceBundle rbms = ResourceBundle.getBundle("messages_VN"); 
		return rbms.getString(messageKey);
	}
		
}
